package appapi.entity.mqtt;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @version: java version 1.8
 * @Author: Ygp Work
 * @description:
 * @date: 2023-07-05 10:26
 */
@Data
@NoArgsConstructor
public class Devices {
    /**
     * 设备列表id
     */
    private Long devicesId;
    /**
     * 设备编号
     */
    private String equipmentNumber;
    /**
     * 地址
     */
    private String address;
    /**
     * 版本信息
     */
    private String versionInformation;
    /**
     * 当前时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nowTime;

    /**
     * 设备类型 0起重机，1升降机
     */
    private String equipmentType;

    private String companydata;
    private String projectdata;
}
